<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>FileFingerprint</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">FileFingerprint()</font></b></p>
<p><b>语法</b></p><blockquote>

Result$ = <font color="#3A3966"><b>FileFingerprint</b></font>(Filename$, Plugin [, Bits [, Offset [, Length]]])</blockquote>

</blockquote>
<b>概要</b><br><blockquote>



Returns a fingerprint for the specified file. 

 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>FileName$</i></td>
<td width="90%"> 
 
The file of which the fingerprint should be calculated. 

 

</td></tr>
<tr><td><i>Plugin</i></td>
<td> 
The plugin to use. 它可以是以下值之一︰ 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Cipher_CRC32</font>: uses CRC32 algorithm. <a href="usecrc32fingerprint.html">UseCRC32Fingerprint()</a> needs to be called before to register this plugin.
  <font color="#924B72">#PB_Cipher_MD5</font>  : uses MD5 algorithm. <a href="usemd5fingerprint.html">UseMD5Fingerprint()</a> needs to be called before to register this plugin.
  <font color="#924B72">#PB_Cipher_SHA1</font> : uses SHA1 algorithm. <a href="usesha1fingerprint.html">UseSHA1Fingerprint()</a> needs to be called before to register this plugin.
  <font color="#924B72">#PB_Cipher_SHA2</font> : uses SHA2 algorithm. <a href="usesha2fingerprint.html">UseSHA2Fingerprint()</a> needs to be called before to register this plugin.
  <font color="#924B72">#PB_Cipher_SHA3</font> : uses SHA3 algorithm. <a href="usesha3fingerprint.html">UseSHA3Fingerprint()</a> needs to be called before to register this plugin.
</font></pre>

</td></tr>
<tr><td><i>Bits (optional)</i></td>
<td> 
 
The bits number to use for the fingerprint. It is only supported for the following plugin: 
 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Cipher_SHA2</font> : can be 224, 256 (default), 384 or 512.
  <font color="#924B72">#PB_Cipher_SHA3</font> : can be 224, 256 (default), 384 or 512.
</font></pre>

</td></tr>
<tr><td><i>Offset (optional)</i></td>
<td> 
 
The offset (in bytes) from the start of the file to begin the checksum calculation. 

 

</td></tr>
<tr><td><i>Length (optional)</i></td>
<td> 
 
The length (in bytes) to use for the checksum calculation. 

 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>



Returns the fingerprint if the calculation was successful. 
If the file isn't found or an error has happened, the result will be an empty string. 

 

</blockquote><p><b>参阅</b></p><blockquote>

<a href="fingerprint.html">Fingerprint()</a>, <a href="startfingerprint.html">StartFingerprint()</a>, <a href="stringfingerprint.html">StringFingerprint()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=desfingerprint.html>DESFingerprint()</a> - <a href="index.html">Cipher Index</a> - <a href="fingerprint.html">Fingerprint()</a> -&gt;<br><br>

</body></html>